﻿namespace NTLib.Pipe
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// Define the current status of the pip base on the status of the source.
    /// </summary>
    public enum PipeStatus
    {
        /// <summary>
        /// Define that the pipe have been created or extract from the pool but not initialized.
        /// </summary>
        NotInitialize,

        /// <summary>
        /// Define that the pipe could be use freely.
        /// </summary>
        Ready,

        /// <summary>
        /// Define that the pipe have been closed and this instance is no longer usable.
        /// </summary>
        Closed,
    }
}
